<div>
<h1>Фирми</h1>

<table>

<?php

echo $html->tableHeaders(array("Фирма","Контакт лице","Телефон","Град"));

foreach ($companies as $c)
{
	echo $html->tableCells(
			array(
				$html->link($c['Company']['name'],array('controller'=>'companies','action'=>'details','company'=>$c['Company']['id'])),
				$c['Company']['contact_person'],
				$c['Company']['phone'],
				$c['City']['name']
			)
		);
}

?>

</table>
</div>